<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <style media="screen">
    </style>
</head>
<body>
    <div id="root"></div>
    <script src="../../js/react.js" charset="utf-8"></script>
    <script src="../../js/react-dom.js" charset="utf-8"></script>
    <script src="../../js/browser.min.js" charset="utf-8"></script>
    <script type="text/babel">
        class Greeting extends React.Component {
            render() {
                return (
                  <h1>Hello, {this.props.name}</h1>
                );
            }
        }

        Greeting.propTypes = {
            name: React.PropTypes.string
        };

        Greeting.defaultProps = {
          name: 'Stranger'
        };

        ReactDOM.render(
            <Greeting />,
            document.getElementById('root')
        )
    </script>
</body>
</html>
